<div class="wrapper wrapper-content">

  <div class="row">
    <div class="col-lg-12">
      <div class="ibox float-e-margins">

        <div class="ibox-title">
          <h5>请输入查询条件</h5>
          <div ibox-tools="" class="ng-scope">
            <div dropdown="" class="ibox-tools dropdown">
              <a ng-click="showhide()"> <i class="fa fa-chevron-up"></i></a>
            </div>
          </div>
        </div>

        <div class="ibox-content">
          <div class="row">
            <row>
              <div class="col-md-12 no-padding">
                <div class="col-md-3">
                  <div class="form-group">
                    <label for="image_patientname" class="control-label">患者姓名</label>
                    <input type="text" id="image_patientname" class="form-control" data-placement="top"
                           data-original-title="" placeholder="" ng-model="search.name">
                  </div>
                </div>
                <div class="col-md-3">
                  <div class="form-group">
                    <label for="image_patientname" class="control-label">电话</label>
                    <input type="text" id="image_patient2name" class="form-control" data-placement="top"
                           data-original-title="" placeholder="" ng-model="search.phoneNum">
                  </div>
                </div>
                <div class="col-md-3">
                  <div class="form-group">
                    <label for="image_patientname" class="control-label">病案号</label>
                    <input type="text" class="form-control" data-placement="top"
                           data-original-title="" placeholder="" ng-model="search.caseNum">
                  </div>
                </div>
                <div class="col-md-3">
                  <div class="form-group">
                    <label for="image_patientname" class="control-label">主治医生</label>
                    <input type="text" class="form-control" data-placement="top"
                           data-original-title="" placeholder="" ng-model="search.doctor">
                  </div>
                </div>
              </div>
            </row>


          </div>


        </div>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-lg-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>
            就诊人员列表
            <!--<small>查看就诊人员信息</small>-->
          </h5>
          <div ibox-tools></div>
        </div>
        <div class="ibox-content table-responsive">

          <table  class="footable table table-stripped table-bordered toggle-arrow-tiny " id="mainTable"
                 data-page-size="8" my-footable>
            <thead>
            <tr>
              <th data-toggle="true">头像</th>
              <th>姓名</th>
              <!--<th>病人ID</th>-->
              <th>电话</th>
              <th>病案号</th>
              <th>主治医师</th>
              <th>病种</th>
              <th>总治疗次数</th>
              <th>已治疗次数</th>
              <th>操作</th>
            </tr>
            </thead>
            <tbody>

            <tr ng-repeat="person in persons|filter:{name:search.name,phoneNum:search.phoneNum,
            doctor:search.doctor,caseNum:search.caseNum}">
              <td>
                <img src="assets/images/common/defaultHeader01.png" class="patient-image">
              </td>
              <td>{{person.name}}</td>
              <!--<td>{{person.caseNum}}</td>-->
              <td>{{person.phoneNum}}</td>
              <td>{{person.caseNum}}</td>
              <td>{{person.doctor}}</td>
              <td ng-bind="person.illnessType"></td>
              <td ng-bind="person.treatNum"></td>
              <td ng-bind="person.hasTreatNum"></td>

              <td>
                <button ng-click="payMoney(person)" class="btn btn-primary" style="margin-top: 7px;">缴费</button>
              </td>
            </tr>
            </tbody>
            <tfoot>
            <tr>
              <td colspan="50">
                <ul class="pagination pull-right"></ul>
              </td>
            </tr>
            </tfoot>
          </table>


        </div>
      </div>
    </div>
  </div>


</div>
